﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="Configuracao" targetNamespace="http://tempuri.org/Configuracao.xsd" xmlns:mstns="http://tempuri.org/Configuracao.xsd" xmlns="http://tempuri.org/Configuracao.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="igrejaConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="igrejaConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.htmltortf.Properties.Settings.GlobalReference.Default.igrejaConnectionString" Provider="Microsoft.SqlServerCe.Client.3.5" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ConfiguracaoTableAdapter" GeneratorDataComponentClassName="ConfiguracaoTableAdapter" Name="Configuracao" UserDataComponentName="ConfiguracaoTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="igrejaConnectionString (Settings)" DbObjectName="Configuracao" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [Configuracao] WHERE (([configuracao_id] = @p1))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="configuracao_id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [Configuracao] ([font], [fontsize], [bold], [italic], [fontcolor], [backcolor], [underline], [strikeout]) VALUES (@p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="font" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@p2" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="fontsize" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@p3" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="bold" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@p4" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="italic" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p5" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="fontcolor" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p6" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="backcolor" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@p7" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="underline" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@p8" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="strikeout" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        Configuracao.*
FROM            Configuracao</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [Configuracao] SET [font] = @p1, [fontsize] = @p2, [bold] = @p3, [italic] = @p4, [fontcolor] = @p5, [backcolor] = @p6, [underline] = @p7, [strikeout] = @p8 WHERE (([configuracao_id] = @p9))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="font" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@p2" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="fontsize" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@p3" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="bold" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@p4" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="italic" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p5" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="fontcolor" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@p6" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="backcolor" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@p7" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="underline" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@p8" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="strikeout" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@p9" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="configuracao_id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="font" DataSetColumn="font" />
              <Mapping SourceColumn="fontsize" DataSetColumn="fontsize" />
              <Mapping SourceColumn="bold" DataSetColumn="bold" />
              <Mapping SourceColumn="italic" DataSetColumn="italic" />
              <Mapping SourceColumn="fontcolor" DataSetColumn="fontcolor" />
              <Mapping SourceColumn="backcolor" DataSetColumn="backcolor" />
              <Mapping SourceColumn="underline" DataSetColumn="underline" />
              <Mapping SourceColumn="strikeout" DataSetColumn="strikeout" />
              <Mapping SourceColumn="configuracao_id" DataSetColumn="configuracao_id" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="igrejaConnectionString (Settings)" DbObjectName="Configuracao" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillById" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataById" GeneratorSourceName="FillById" GetMethodModifier="Public" GetMethodName="GetDataById" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataById" UserSourceName="FillById">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        font, fontsize, bold, italic, fontcolor, backcolor, underline, strikeout, configuracao_id
FROM            Configuracao
WHERE        (configuracao_id = @configuracao_id)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="configuracao_id" ColumnName="configuracao_id" DataSourceName="Configuracao" DataTypeServer="int(4)" DbType="Int32" Direction="Input" ParameterName="@configuracao_id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="configuracao_id" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="Configuracao" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_DataSetName="Configuracao" msprop:Generator_UserDSName="Configuracao" msprop:EnableTableAdapterManager="true">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Configuracao" msprop:Generator_UserTableName="Configuracao" msprop:Generator_RowDeletedName="ConfiguracaoRowDeleted" msprop:Generator_TableClassName="ConfiguracaoDataTable" msprop:Generator_RowChangedName="ConfiguracaoRowChanged" msprop:Generator_RowClassName="ConfiguracaoRow" msprop:Generator_RowChangingName="ConfiguracaoRowChanging" msprop:Generator_RowEvArgName="ConfiguracaoRowChangeEvent" msprop:Generator_RowEvHandlerName="ConfiguracaoRowChangeEventHandler" msprop:Generator_TablePropName="_Configuracao" msprop:Generator_TableVarName="tableConfiguracao" msprop:Generator_RowDeletingName="ConfiguracaoRowDeleting">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="font" msprop:Generator_UserColumnName="font" msprop:Generator_ColumnPropNameInRow="font" msprop:Generator_ColumnVarNameInTable="columnfont" msprop:Generator_ColumnPropNameInTable="fontColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="fontsize" msprop:Generator_UserColumnName="fontsize" msprop:Generator_ColumnPropNameInRow="fontsize" msprop:Generator_ColumnVarNameInTable="columnfontsize" msprop:Generator_ColumnPropNameInTable="fontsizeColumn" type="xs:double" minOccurs="0" />
              <xs:element name="bold" msprop:Generator_UserColumnName="bold" msprop:Generator_ColumnPropNameInRow="bold" msprop:Generator_ColumnVarNameInTable="columnbold" msprop:Generator_ColumnPropNameInTable="boldColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="italic" msprop:Generator_UserColumnName="italic" msprop:Generator_ColumnPropNameInRow="italic" msprop:Generator_ColumnVarNameInTable="columnitalic" msprop:Generator_ColumnPropNameInTable="italicColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="fontcolor" msprop:Generator_UserColumnName="fontcolor" msprop:Generator_ColumnPropNameInRow="fontcolor" msprop:Generator_ColumnVarNameInTable="columnfontcolor" msprop:Generator_ColumnPropNameInTable="fontcolorColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="backcolor" msprop:Generator_UserColumnName="backcolor" msprop:Generator_ColumnPropNameInRow="backcolor" msprop:Generator_ColumnVarNameInTable="columnbackcolor" msprop:Generator_ColumnPropNameInTable="backcolorColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="underline" msprop:Generator_UserColumnName="underline" msprop:Generator_ColumnPropNameInRow="underline" msprop:Generator_ColumnVarNameInTable="columnunderline" msprop:Generator_ColumnPropNameInTable="underlineColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="strikeout" msprop:Generator_UserColumnName="strikeout" msprop:Generator_ColumnPropNameInRow="strikeout" msprop:Generator_ColumnVarNameInTable="columnstrikeout" msprop:Generator_ColumnPropNameInTable="strikeoutColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="configuracao_id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="configuracao_id" msprop:Generator_ColumnPropNameInRow="configuracao_id" msprop:Generator_ColumnVarNameInTable="columnconfiguracao_id" msprop:Generator_ColumnPropNameInTable="configuracao_idColumn" type="xs:int" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Configuracao" />
      <xs:field xpath="mstns:configuracao_id" />
    </xs:unique>
  </xs:element>
</xs:schema>